/**
 * 
 */
package com.navigation.service.impl;

import java.util.List;

import com.navigation.dao.SiteDao;
import com.navigation.model.Site;
import com.navigation.service.SiteManager;

/**
 * @author Administrator
 *
 */
public class SiteManagerImpl implements SiteManager {
	
	private SiteDao siteDao;
	
	public SiteDao getSiteDao() {
		return siteDao;
	}

	public void setSiteDao(SiteDao siteDao) {
		this.siteDao = siteDao;
	}
	
	/* (non-Javadoc)
	 * @see com.navigation.service.SiteManager#delete(int)
	 */
	public void delete(int id) {
		siteDao.delete(id);
	}

	/* (non-Javadoc)
	 * @see com.navigation.service.SiteManager#findAllSite()
	 */
	public List findAllSite() {
		return siteDao.findAllSite();
	}

	/* (non-Javadoc)
	 * @see com.navigation.service.SiteManager#findSiteByName(java.lang.String)
	 */
	public Site findSiteById(Integer id) {
		return siteDao.findSiteById(id);
	}

	/* (non-Javadoc)
	 * @see com.navigation.service.SiteManager#get(int)
	 */
	public Site get(int id) {
		return siteDao.get(id);
	}

	/* (non-Javadoc)
	 * @see com.navigation.service.SiteManager#save(com.navigation.model.Site)
	 */
	public void save(Site site) {
		siteDao.save(site);
	}

	/* (non-Javadoc)
	 * @see com.navigation.service.SiteManager#update(com.navigation.model.Site)
	 */
	public void update(Site site) {
		siteDao.update(site);
	}

}
